﻿@model Entity.Album
@{
    ViewBag.Title = "Details";
}
<div>
    <h4><em>@Model.Title</em></h4>
    <hr />
    <dl class="dl-horizontal">
        <dt>
            Cover
        </dt>
        <dd>
            <img src="@Model.ArtUrl" alt="" />
        </dd>
        <dt>
            Genre
        </dt>

        <dd>
            @Model.Genre.Name
        </dd>
        <dt>
            Artist
        </dt>

        <dd>
            @Model.Artist.Name
        </dd>
        <dt>
            Price
        </dt>

        <dd>
            @string.Format("{0:F}", Model.Price)
        </dd>
    </dl>
</div>
<p class="text-center">
   @Html.ActionLink("Add to cart", "AddToCart", "ShoppingCart", new { id = Model.Id }, new { @class = "btn btn-default", role = "button" })
</p>

